﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMSSyncData.Model
{
    /// <summary>
    /// 销售订单发货计划中间表
    /// </summary>
    [Table(TableName = "ttddev111101")]
    public class tddev111
    {
        /// <summary>
        /// 销售订单号
        /// </summary>
        public string orno { get; set; }
        /// <summary>
        /// 销售订单行号
        /// </summary>
        public string pono { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int seqn { get; set; }
        /// <summary>
        /// 客户代码
        /// </summary>
        public string bpid { get; set; }
        /// <summary>
        /// 客户料号
        /// </summary>
        public string citem { get; set; }
        /// <summary>
        /// 物料代码
        /// </summary>
        public string item { get; set; }
        /// <summary>
        /// 订单数量
        /// </summary>
        public double qoor { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string cwar { get; set; }
        /// <summary>
        /// 计划交货日期
        /// </summary>
        public string prdt { get; set; }
        /// <summary>
        /// 收货地址代码
        /// </summary>
        public string stad { get; set; }
        /// <summary>
        /// 收货地
        /// </summary>
        public string nama { get; set; }
        /// <summary>
        /// 客户订单号
        /// </summary>
        public string corn { get; set; }
        /// <summary>
        /// MATERIAL HANDLING CODE
        /// </summary>
        public string micd { get; set; }
        /// <summary>
        /// PCI-code
        /// </summary>
        public string lin1_lin7 { get; set; }
        /// <summary>
        /// 是否延交订单
        /// </summary>
        public int bkor { get; set; }
        /// <summary>
        /// 出库单号
        /// </summary>
        public string obon { get; set; }
        /// <summary>
        /// 形式发票号
        /// </summary>
        public string prin { get; set; }
        /// <summary>
        /// 中间表状态
        /// </summary>
        public int host { get; set; }
        /// <summary>
        /// ERP写入日期
        /// </summary>
        public DateTime? edte1 { get; set; }
        /// <summary>
        /// WMS读取日期
        /// </summary>
        public DateTime? wdte1 { get; set; }
    }
}
